#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Role.nanopb.h"
#define MAX_ROLE_WARRIOR_NUM 64

class RoleWarriorDesc : public NFIDescTemplate<RoleWarriorDesc, E_RoleWarrior, EOT_CONST_ROLE_WARRIOR_DESC_ID, MAX_ROLE_WARRIOR_NUM>
{
public:
	RoleWarriorDesc();
	virtual ~RoleWarriorDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
